Partner: P-31011 - Michelle Matthieu from 1011: Create
Natural Person As Partner| name | value |
|---|---|
| partnerName | Matthieu |
| newEmailAddress | michelle@matthieu.example.org |
HTTP GET "/api/hs/office/relations?relationType=PARTNER&personData=Matthieu" \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }`
=> status: 200 OK
[ {
"uuid" : "40c6c87f-3490-42fa-a3f2-fc2fbe748c6f",
"anchor" : {
"uuid" : "8f6b2e83-5cd0-4f3b-bac9-c56b374445cf", // Person: Hostsharing eG
"personType" : "LEGAL_PERSON",
"tradeName" : "Hostsharing eG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "c7b75e67-8032-40b6-a6a3-2cac00ee49af", // Person: Michelle Matthieu
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu"
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "2f189108-ed7e-4698-88fc-5fc5b29729ef", // Contact: Michelle Matthieu
"caption" : "Michelle Matthieu",
"postalAddress" : {
"zipcode" : "22123",
"country" : "Germany",
"city" : "Hamburg",
"street" : "An der Wandse 34",
"name" : "Michelle Matthieu"
},
"emailAddresses" : {
"main" : "michelle.matthieu@example.org"
},
"phoneNumbers" : {
"office" : "+49 40 123456"
}
}
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
HTTP PATCH "/api/hs/office/contacts/2f189108-ed7e-4698-88fc-5fc5b29729ef" // Contact: Michelle Matthieu \
-H "Authorization: Bearer $HSADMINNG_JWT_BEARER" \
`# {` \
`# "sub" : "uuid<hsh-alex_superuser>"` \
`# }` \
<<EOF
{
"postalAddress" : { },
"phoneNumbers" : { },
"emailAddresses" : {
"main" : "michelle@matthieu.example.org"
}
}
EOF
=> status: 200 OK
generated on 2026-08-10 03:08:29 for branch HEAD